package pl.com.qapps.unity;

import java.io.IOException;

/**
 * Supposed to be ThreadSafe.
 * 
 * @author Jakub Dykowski
 * 
 */
interface Connection<S, R> {

	R send(S message) throws IllegalStateException, IOException;
}
